/*
 * Copyright 2018 Zhongan.com All right reserved. This software is the
 * confidential and proprietary information of Zhongan.com ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Zhongan.com.
 */

package com.yh.construct.proxy_pattern;

/**
 * TODO 类实现描述
 *
 * @author yanghui
 * @since 2018年7月11日 下午9:23:39
 */
public class WangPo implements Women {
    private Women women;

    public WangPo(Women women) {
        this.women = women;
    }

    public WangPo() {
        this.women = new JinNian();
    }

    @Override
    public void makeEyesWithMan() {
        this.women.makeEyesWithMan();

    }

    @Override
    public void eatGoodFood() {
        this.women.eatGoodFood();
    }
}
